<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="/home.css" rel="stylesheet" type="text/css">

<title>订单详细内容</title>
</head>
<body>
<%@ include file="../common/header.jsp" %>

<div>

<h3>订单详细内容</h3>
<hr style="border-style: dotted none none none">
<ul>
<c:forEach items="${order.books}" var="book">
<li>
	<p><a href="<%=request.getContextPath()%>/book/${book.id}.htm">${book.name}</a> - ￥${book.price }</p>

</li>
<hr style="border-style: dotted none none none">
</c:forEach>
</ul>
</div>

<div>

<p>数量：<span>${order.totalNum}</span></p>
<p>小计：<span>￥${order.totalAmount}</span></p>
<p><a href="#">取消订单</a></p>
<p><a href="#">关闭窗口</a></p>
<p><a href="<%=request.getContextPath()%>/shopping/pay">现在就去支付</a></p>
</div>

</body>
</html>